package com.example.demo.service.impl;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import com.example.demo.service.NavigationService;
import com.example.demo.dao.NavigationMapper;
import com.example.demo.bean.Navigation;

@Service
public class NavigationServiceImpl implements NavigationService {

	@Autowired
	private NavigationMapper navigationMapper;

	public java.util.List<Navigation> queryNavigationByPage (java.util.Map<String, Object> params){
		return this.navigationMapper.selectNavigationByPage(params);
	}

	public int queryNavigationCount (java.util.Map<String, Object> params){
		return this.navigationMapper.selectNavigationCount(params);
	}

	public Navigation queryNavigationOne (java.util.Map<String, Object> params){
		return this.navigationMapper.selectNavigationOne(params);
	}

	public int updateNavigation (java.util.Map<String, Object> params){
		return this.navigationMapper.updateNavigation(params);
	}

	public int deleteNavigation (java.util.List<String> idList){
		return this.navigationMapper.deleteNavigation(idList);
	}

	public int insertNavigation (java.util.Map<String, Object> params){
		return this.navigationMapper.insertNavigation(params);
	}

}